<?
function prikeydecode ($serverpricrt, $encodedate)
{
    $encrypted = $encodedate;
    $prk = file_get_contents($serverpricrt);
    $privKey = openssl_pkey_get_private($prk);
    $encrypted = base64_decode($encrypted);
    $r = openssl_private_decrypt($encrypted, $decrypted, $privKey);
    if (! $r) {
        header("HTTP/1.0 403 Not Found");
        exit();
    }
    return $decrypted;
}



?>